package mc.contents.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by Administrator on 14-12-8.
 */
public class TimeUtils {
    private static final String format_str = "yyyy-MM-dd HH:mm:ss";
    public static String format (Date date){
        SimpleDateFormat format = new SimpleDateFormat( format_str );
        return format.format( date );
    }

}
